<%@ include file="/common/header.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<style>
.edit-mod {
	padding-left: 30px;
	padding-right: 15px;
}

.table-form {
	width: 100%;
}

.table-form .form-control {
	width: 100%;
}

.tips {
	line-height: 30px;
}

.edit-mod .table>tbody>tr>th {
	vertical-align: middle;
	text-align: right;
}

.edit-select {
	width: 300px;
	margin-left:30px;
	float: left;"
}
</style>
<body ng-init="FLAG='${FLAG}';AutoViewPage=true;">
	<div class="container-full" ng-controller="rwszDetailController">
		<div class="row">
			<div class="col-md-12 centerContain">
				<div class="edit-body">
					<form id="myForm" class="form-horizontal" name="validateForm">
						<div class="edit-mod" style="margin-top: 45px;">
							<div class="mod-body">
								<table class="table-form table table-bordered form-group">
									<colgroup>
										<col width="200px">
										<col width="*">
									</colgroup>
									<tbody>
										<tr>
											<th>任务名称：</th>
											<td class="mui-radio table-radio">
												<input type="text" ng-model="rwszInfo.MC"
													   style="margin-left: 30px;width: 750px;"
													   class="form-control easyui-validatebox"
													   data-options="validType:'length[1,50]',required:true,tipPosition:'bottom'"
													   placeholder="请输入任务名称">
											</td>
										</tr>
										<tr>
											<th>任务推送时间：</th>
											<td>
												<select class="edit-select" ng-model="initZJ" ng-options="zj.value as zj.label for zj in tssjZJ"></select>
												<select class="edit-select" ng-model="initJD" ng-options="jd.value as jd.label for jd in tssjJD"></select>
												<%--<div pt-select class="edit-select" ng-validate="true"  ng-model-value="rwszInfo.TSSJ_ZJ" ng-datafield="tssjZJ"></div>--%>
												<%--<div pt-select class="edit-select" ng-validate="true"  ng-model-value="rwszInfo.TSSJ_JD" ng-datafield="tssjJD"></div>--%>
											</td>
										</tr>
										<tr>
											<th>上报截止时间：</th>
											<td>
												<span style="float: left;margin-left: 30px;margin-top: 8px;">任务推送后 </span>
												<input type="text" ng-model="rwszInfo.SBJZSJ"
													   style="float: left;width: 350px;margin:0px 8px;border: solid #ccc 1px;"
													   class=""
													   data-options="validType:['length[1,50]','positiveinteger'],required:true,tipPosition:'bottom'"
												placeholder="请输入上报截止时间">
												<span style="float: left;margin-top: 8px;">个自然日</span>
											</td>
										</tr>
										<tr>
											<th>任务启用状态： </th>
											<td class="mui-radio table-radio">
												<codeset dmjbh="FWSZPT_GZBG_MBGL_SFQYFJ" ng-model="rwszInfo.SFQY" ng-validate="true" ng-type="radio"></codeset>
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<button ng-if="FLAG=='add'" type="button" class="icon-del-line" ng-click="add()">保存设置</button>
												<button ng-if="FLAG=='edit'" type="button" class="icon-del-line" ng-click="edit()">保存设置</button>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
						
					</form>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript"
		src="<common:webRoot/>/resources/fwszpt/gzbg/rwgl/js/rwsz.js?v=${sysversion}"></script>
</body>
<%@ include file="/common/footer.jsp"%>
